package chapter6.test;

import java.util.Arrays;
import java.util.Comparator;

public class Te {
	public static void main(String[] args) {
		int[] ar = {5,2,3,6,1,9,12,7};
		System.out.println(Arrays.binarySearch(ar, 1));
	}
}
